﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Camping_Project_WEB.Models.InfosClient>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	InfosClient
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>InfosClient</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Fields</legend>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.nomClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.nomClient) %>
                <%: Html.ValidationMessageFor(model => model.nomClient) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.prenomClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.prenomClient) %>
                <%: Html.ValidationMessageFor(model => model.prenomClient) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.dateNaissanceClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.dateNaissanceClient) %>
                <%: Html.ValidationMessageFor(model => model.dateNaissanceClient) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.adresseClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.adresseClient) %>
                <%: Html.ValidationMessageFor(model => model.adresseClient) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.cpClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.cpClient) %>
                <%: Html.ValidationMessageFor(model => model.cpClient) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.villeClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.villeClient) %>
                <%: Html.ValidationMessageFor(model => model.villeClient) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.paysClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.paysClient) %>
                <%: Html.ValidationMessageFor(model => model.paysClient) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.telClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.telClient) %>
                <%: Html.ValidationMessageFor(model => model.telClient) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.emailClient) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.emailClient) %>
                <%: Html.ValidationMessageFor(model => model.emailClient) %>
            </div>
            
            <p>
                <input type="submit" value="Enregistrer" />
            </p>
        </fieldset>

    <% } %>

</asp:Content>

